import Layout from "@/Layout/"
import Month from "@/pages/Month/"
import New from "@/pages/New"
import Year from "@/pages/Year"

const routes = [
  {
    path: '/',
    exact: true,
    element: <Layout />,
    children: [
      {
        index: true,
        element: <Month />
      },
      {
        path: 'year',
        element: <Year />
      }
    ]
  },
  {
    path: '/new',
    element: <New />
  }
]

export default routes
